{% extends 'base.html' %}
{% block content %}
        <style>
        .table-admin_delete {
            position: fixed;
            max-width: 50%; /* 设置容器的最大宽度 */
            left: 25%;
            width: 50%;
            margin: 5% auto;
            padding: 15px; /* 添加一些内边距 */
            background-color: #ffffff; /* 设置背景颜色 */
            border: 1px solid rgba(221, 221, 221, 0.67); /* 添加边框 */
            border-radius: 5px; /* 添加圆角 */
        }</style>
    <div class="table-admin_delete">
        <form method="post">
            {% csrf_token %}
            <div class="card">
                <div class="card-header">
                    {{ admin_info.username }}
                </div>
                <div class="card-body">
                    <h5 class="card-title">个人信息表</h5>
                    <p class="card-text"> 编号:{{ admin_info.id }}</p>
                    <p class="card-text"> 姓名:{{ admin_info.username }}</p>
                    <p class="card-text"> 邮件：{{ admin_info.email }}</p>
                </div>
            </div>
            <button type="submit" class="btn btn-danger">删除</button>
            <a href="{% url 'device:admin_list' %}" class="btn btn-primary">返回</a>
        </form>

    </div>
{% endblock %}